package org.lim.shared.websocket.service.strategy;

import org.lim.shared.websocket.model.PictureEditRequestMessage;
import org.lim.domain.user.entity.User;
import org.springframework.web.socket.WebSocketSession;

public interface PictureEditMessageStrategy {
    /**
     * 处理消息的策略方法
     * @param requestMessage 请求消息
     * @param session WebSocket会话
     * @param user 用户信息
     * @param pictureId 图片ID
     * @throws Exception 异常
     */
    void handleMessage(PictureEditRequestMessage requestMessage, WebSocketSession session, User user, Long pictureId) throws Exception;
}